<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta charset="utf-8">
		<title>a</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link href="/php/x-admin/Public/css/bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" href="/php/x-admin/Public/css/font-awesome.min.css">
		<link rel="stylesheet" href="/php/x-admin/Public/css/ace.min.css">
		<script type="text/javascript" charset="utf-8" src="/php/x-admin/Public/baidu/ueditor.config.js"></script>
	    <script type="text/javascript" charset="utf-8" src="/php/x-admin/Public/baidu/ueditor.all.min.js"> </script>
	    <script type="text/javascript" charset="utf-8" src="/php/x-admin/Public/baidu/lang/zh-cn/zh-cn.js"></script>

	<style type="text/css">.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}</style></head>

	<body style="">
		<div class="page-content">
            <div class="row">
                <div class="col-xs-12">
                    
					<div class="row">
                        <div class="col-xs-12">
                            <div class="table-responsive">
	
		
	
	<body>
	<center>
		<form action="/php/x-admin/index.php/Admin/Goods/update" method="post" enctype="multipart/form-data">
			<table id="sample-table-1" class="table table-striped table-bordered table-hover">
				<tr>
					<td>商品名称:</td>
					<td>
						<input type="text" name="goodsname" value="<?php echo ($goods["goodsname"]); ?>">
					</td>
				</tr>
				<tr>
					<td>商品分类:</td>
					<td>
						<input type="text" value="<?php echo ($goods["catsname"]); ?>" disabled>
					</td>
				</tr>
				<tr>
					<td>商品价格:</td>
					<td>
						<input type="text" name="price" value="<?php echo ($goods["price"]); ?>" /> 
					</td>
				</tr>
				<tr>
					<td>商品库存:</td>
					<td>
						<input type="text" name="store" value="<?php echo ($goods["store"]); ?>" /> 
					</td>
				</tr>
				<tr>
					<td>储存状态</td>
					<td><select name="state2">
						<option value="1"  <?php if($goods["state2"] == 1): ?>selected<?php endif; ?>>有货</option>
						<option value="2"  <?php if($goods["state2"] == 2): ?>selected<?php endif; ?>>无货</option>
					</select></td>
				</tr>
				<tr>
					<!-- <td>隐藏域</td> -->
					<td><input type="hidden" name="goodsid" value="<?php echo ($goods["goodsid"]); ?>"></td>
				</tr>
				 <tr>
					<td>商品描述:</td>
					<td>
						<script id="editor" type="text/plain"  name="description" style="width:700px;height:90px;" value=""> <?php echo ($goods["description"]); ?> </script>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<button class="btn btn-info" type="submit"><i class="icon-ok bigger-110"></i>提交</button>
					</td>
				</tr>
			</table>
		</form>
	</center></div></div></div></div></div></div>
	</body>
	<script type="text/javascript">
	var ue = UE.getEditor('editor');
	</script>
</html>